<?php
$this->widget('bootstrap.widgets.TbBreadcrumbs',array(
	'links'=>array(
	UserModule::t('Users')=>array('admin'),
	UserModule::t('Create'),
	),
));

$this->menu=array(
	array('label'=>'User Module'),
    array('label'=>UserModule::t('Create User'), 'icon'=>'star', 'url'=>'#', 'disabled'=>true),
    array('label'=>UserModule::t('View User'), 'icon'=>'eye-open', 'url'=>'#', 'disabled'=>true),
    array('label'=>UserModule::t('Update User'), 'icon'=>'pencil', 'url'=>'#', 'disabled'=>true),
    array('label'=>UserModule::t('Delete User'), 'icon'=>'trash', 'url'=>'#', 'disabled'=>true),
    array('label'=>UserModule::t('Manage Users'), 'icon'=>'cog', 'url'=>array('admin')),
    array('label'=>UserModule::t('Manage Profile Field'), 'icon'=>'edit', 'url'=>array('profileField/admin')),
    array('label'=>UserModule::t('List User'), 'icon'=>'th-list', 'url'=>array('/user')),
);
?>
<div class="row">
	<div class="span9">
		<div style="padding: 10px;">
<h2><?php echo UserModule::t("Create User"); ?></h2>

<?php
	echo $this->renderPartial('_form', array('model'=>$model,'profile'=>$profile));
?>
	</div>
	</div>
	<div class="span3">
	<?php
		$this->beginWidget('zii.widgets.CPortlet', array(
			'title'=>'Administration',
		));
		$this->widget('bootstrap.widgets.TbMenu',array(
			'type'=>'list',
			'items'=>$this->menu,
		));
		$this->endWidget();
	?>
	</div>
</div>